package com.myself.ssoserver.dto

import com.myself.ssoserver.entity.User


// AuthRequest.kt
data class AuthRequest(
    val username: String,
    val password: String
)

// AuthResponse.kt
data class AuthResponse(
    val token: String,
    val userId: Int,
    val username: String,
    val user: User
)

data class SimpleRegisterRequest(
    val username: String,
    val password: String
)

// AuthException.kt
class AuthException(message: String) : RuntimeException(message)